package com.dzsw.javabase.array;

public class ArrayDemo {

    public static void main(String[] args) {
        int[] ints = {1, 2, 3, 4, 5};
        Integer[] is = {1, 2, 3, 4, 5};
        test(new Integer[]{1, 2, 3, 4, 5});
    }

    public static void test(Integer[] ints) {
        for(Integer i : ints) {
            System.out.println(i);
        }
    }
}
